﻿using Core;
using UnityEngine;

namespace Game.Combat.Enemy {
    public class Enemy : ABSLife {

        public Enemy(string name) {
            GameObject obj = AssetLoader.LoadAsset(PrefabNames.ENEMY);
            obj.name = name;
            Display = obj.AddComponent<EnemyDisplay>();
            Display.Init(this);
        }
    }
}